Carbon


MPCreateEvent

Header: Multiprocessing.h Carbon status: Supported

Creates an event group.

OSStatus MPCreateEvent (
    MPEventID *event
);
event

On return, event contains the ID of the newly created event group.

function result

A result code.

DISCUSSION

Event groups are created from dynamically allocated internal resources. Other tasks may be competing for these resources so it is possible that this function will not be able to create an event group.

Also see the function MPDeleteEvent.

VERSION NOTES

Introduced with Multiprocessing Services 2.0.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when MPLibrary 2.0 or later is installed. Exported by CarbonLib 1.0 and later and by MPLibrary 2.0 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/6/2000)